package com.example.demo.mapper.userInfo;



import java.util.List;

import com.example.demo.domain.userInfo.UserInfo;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

	UserInfo findByUsername(String username);
	
	public List<UserInfo> selectUserList(UserInfo user);
	
	public UserInfo selectUserByUserName(String userName);
	
	public int checkUserNameUnique(String userName);
	
	public int deleteUserByIds(String[] id);
	
	List<UserInfo> selectBarberName();
	
	List<UserInfo> selectCashierName();
}